package com.qingsong.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.qingsong.dto.OrderDetailInsertDTO;
import com.qingsong.dto.OrderDetailPageDTO;
import com.qingsong.dto.OrderDetailUpdateDTO;
import com.qingsong.entity.OrderDetail;
import com.qingsong.excel.OrderDetailExcelDTO;
import com.qingsong.vo.OrderDetailSimpleListVO;
import java.util.List;

/**
 * 订单明细表 服务层。
 *
 * @author qingsong
 * @since 2024-12-22
 */
public interface OrderDetailService extends IService<OrderDetail> {

    boolean insert(OrderDetailInsertDTO dto);
    OrderDetail select(Long id);
    List<OrderDetailSimpleListVO> simpleList();
    Page<OrderDetail> page(OrderDetailPageDTO dto);

    List<OrderDetailExcelDTO> excel();
    boolean update(OrderDetailUpdateDTO dto);
    boolean delete(Long id);
    boolean deleteBatch(List<Long> ids);
    
}
